﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<%template _header%>
<link rel="stylesheet" href="/support/common/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="/support/common/impromptu.css" type="text/css" />
<script type="text/javascript" src="/support/common/jquery.js"></script>
<script type="text/javascript" src="/support/common/impromptu.js"></script>
<script type="text/javascript" src="/support/common/ui.core.js"></script>
<script type="text/javascript" src="/support/common/ui.datepicker.js"></script>
<script type="text/javascript" src="/support/common/ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="/support/common/ui.draggable.js"></script> 
<script type="text/javascript" src="/support/common/ui.resizable.js"></script> 
<script type="text/javascript" src="/support/common/ui.dialog.js"></script> 
<script type="text/javascript" src="/support/swfobject/open-flash-chart.js"></script>
<script type="text/javascript" src="/support/swfobject/weight.js"></script>

<div class="layout-cols2">
<%template _memmenu%>
	<div class="pannelcontent">

		<div class="pcontent">
		<div class="panneldetail">
	     <%template _memrecordermenu%>
	     	
			<div class="pannelbody">
	    
	    <div class="box">
	        <div class="caption">
	            体重图表
	        </div>
	        <div class="content">
	            <div id="weightchart1"></div>
                <script type="text/javascript">
                    swfobject.embedSWF("/support/swfchart/open-flash-chart.swf", "weightchart1", "740", "250","9.0.0", "expressInstall.swf",{'id':'1','flashready':'OnWeightFlashReady'},{wmode: "transparent"});
                </script>
	        </div>
	    </div>
	    
	    <div class="box">
	        <div class="caption">
	             体重纪录
	        </div>	  
	        <div class="content" id="ID_CONTENT">
	            <div style="line-height:35px">
	                <b>身高信息：</b><span id=ID_HEIGHT></span><input type=text style="display:none;width:50px" id="ID_INPUT_HEIGHT" />厘米
	                <a id="ID_MODITY_HEIGHT" class="selectall" href="javascript:OnEditHeight()">修改</a>	            
	                <a id="ID_ADD_HEIGHT" style="display:none" class="selectall" href="javascript:OnSaveHeight()">保存</a>
	                <a id="ID_CANCEL_HEIGHT" style="display:none"  class="selectall" href="javascript:OnCancelHeight()">取消</a>
	            </div>
	            <div style="line-height:35px"> <b>体重信息：</b>
	                时间:
	                <input class="box-var validate-date" id="date" maxlength="10" size="10" name="date" style="vertical-align:middle;" />
					<em class="helptext">格式：年-月-日(1970-03-08)</em>
	                体重:<input type="text" name="stature" id="ID_INPUT_WEIGHT" class="inputstyle" size="8" /> 公斤 <input type=button value="保存" onclick="OnSaveWeight()" />
	            </div>
	            <!--TP.LIST 
                   <%HD%><table ID="ID_TABLE" border="0" cellpadding="0" cellspacing="0" class="tbl-data">
	                <thead>
	                <tr>
	                    <th style="width:200px;">日期</th>
	                    <th style="width:160px;text-align:left">情况</th>
	                    <th  style="text-align:left">操作</th>
	                </tr>
	                </thead>
				    <%LB%><%EB%>
                    <tr>    
                        <td><%date%></td>
                        <td style="text-align:left"><%value%>(公斤)</td>
                        <td style="text-align:left">
                            <a href="javascript:OnDelWeightHistory('<%id%>');" class="selectall">删除</a>
                            <a href="javascript:OnEditWeight('<%id%>', '<%date%>', '<%value%>')"  class="selectall">修改</a>
                        </td>
                    </tr>
                    <%EE%>                                     
                    <%LE%>
                    <%TL%>
                </table> 
                TP.LIST-->
			  <div style="text-align:right;width:700px">
				<div id="weight_list"></div>
				<div id="ID_page"></div> 
			  </div>
	        </div>
            <h2 id="ID_NORECORD" style="display:none;padding:10px; text-align:center;">您目前还没有任何体重历史记录，<a href="historyadd.aspx" style="color:Green;">现在开始记录</a></h2>        
                
	    </div>
	</div>
	
	</div>
	</div>
	</div>
	
</div>
<div id="DIALOG"><iframe FRAMEBORDER=0 SCROLLING=NO ></iframe></div>
<script type="text/javascript" src="/support/Alpha/Js/weighthistory/index.js"></script>
<%template _footer%>